﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AdminMessageBoard.aspx.cs" Inherits="BalanceCenter_AdminMessageBoard" %>
<%@ Register TagPrefix="ShoveWebUI" Namespace="Shove.Web.UI" Assembly="Shove.Web.UI.2 For.NET 2.0" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>山顶软件 - 会员中心</title>
	<link href="../style/css.css" type="text/css" rel="stylesheet"/>
	<link href="../style/main.css" type="text/css" rel="stylesheet"/>
</head>
<body style="margin-left:0; margin-top:0; margin-right:0; margin-bottom:0;" style="text-align: center">
    <form id="form1" runat="server">
        <font face="宋体">
            <br />
            <span style="font-size: 12pt; color: #3399cc"><strong>管理在线留言</strong></span><br />
                <table id="Table1" cellSpacing="0" cellPadding="0" width="80%" align="center" border="0">
					<tr>
						<td align="center"><ShoveWebUI:ShoveDataList id="g" runat="server" PageMode="NextPrev" Width="100%" PageSize="5" PrevPageText="上一页"
								NextPageText="下一页" AllowPaging="True" OnItemCommand="g_ItemCommand" OnPageIndexChanged="g_PageIndexChanged">
								<ITEMTEMPLATE>
								<BR>
									<table id="Table2" style="BORDER-RIGHT: 1px solid; BORDER-TOP: 1px solid; BORDER-LEFT: 1px solid; WIDTH: 100%; BORDER-BOTTOM: 1px solid; FONT-FAMILY: 宋体; BORDER-COLLAPSE: collapse; BACKGROUND-COLOR: white"
										border="1">
										<tr>
											<td align="center" width="180" rowSpan="5"><IMG src='../Images/Face/<%# DataBinder.Eval(Container.DataItem,"Sex")%>.gif'>
												<BR>
												时间:<%# DataBinder.Eval(Container.DataItem,"DateTime")%>
												<BR>
												IP:<%# DataBinder.Eval(Container.DataItem,"IPAddress")%>
												<BR>
												用户:<%# DataBinder.Eval(Container.DataItem,"Name")%>
											</td>
											<td bgColor="aliceblue" align="left"><STRONG>主题：</STRONG>&nbsp;<%# DataBinder.Eval(Container.DataItem,"Title")%><INPUT 
            id=tbID type=hidden 
            value='<%# DataBinder.Eval(Container.DataItem,"ID")%>' name=tbID 
            runat="server"></td>
										</tr>
										<tr>
											<td align="left"><STRONG>内容：</STRONG><BR>
												<%# DataBinder.Eval(Container.DataItem,"Content2")%>
											</td>
										</tr>
										<tr>
											<td bgColor="honeydew" align="left"><STRONG>回复：</STRONG>&nbsp;<FONT color="dimgray"><%# DataBinder.Eval(Container.DataItem,"ReplyDateTime")%></FONT></td>
										</tr>
										<tr>
											<td align="left">
												<asp:TextBox id=tbReply runat="server" Width="100%" BorderStyle="None" Text='<%# DataBinder.Eval(Container.DataItem,"Reply2")%>' TextMode="MultiLine" Height="150px" BorderWidth="0px" BorderColor="#E0E0E0">
												</asp:TextBox></td>
										</tr>
										<tr>
											<td align="right">
												<asp:Button id="Button1" runat="server" Text="删除留言" CommandName="btnDelete"></asp:Button>&nbsp;&nbsp;
												<asp:Button id="Button2" runat="server" Text="保存回复" CommandName="btnReply"></asp:Button>&nbsp;&nbsp;&nbsp;&nbsp;</td>
										</tr>
									</table>
								</ITEMTEMPLATE>
								<PAGERSTYLE HorizontalAlign="Center"></PAGERSTYLE>
							</ShoveWebUI:ShoveDataList><BR>
							<BR>
						</td>
					</tr>
				</table>
        </font>
    </form>
</body>
</html>
